/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.emergency.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "应急机构",description = "应急机构实体类")
public class EmergencyInstitutions extends BaseEntity {

    @ApiModelProperty(name = "corpCode",value = "水司code",required = true)
    private String corpCode;

    @ApiModelProperty(name = "corpCode",value = "水司名称")
    private String corpName;

    @ApiModelProperty(name = "name",value = "机构名称",required = true)
    private String name;

    @ApiModelProperty(name = "pid",value = "父级节点id",required = true)
    private String pid;

    @ApiModelProperty(name = "subnumber",value = "子节点数量",required = true)
    private Integer subnumber;

    @ApiModelProperty(name = "ranking",value = "排序值",required = true)
    private Integer ranking;

    @ApiModelProperty(name = "StaffName",value = "当前部门人员名称",required = true)
    private List<String> StaffName;

    @ApiModelProperty(name = "childList",value = "子部门信息",required = true)
    private List<EmergencyInstitutions> childList;

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getSubnumber() {
        return subnumber;
    }

    public void setSubnumber(Integer subnumber) {
        this.subnumber = subnumber;
    }

    public Integer getRanking() {
        return ranking;
    }

    public void setRanking(Integer ranking) {
        this.ranking = ranking;
    }

    public List<String> getStaffName() {
        return StaffName;
    }

    public void setStaffName(List<String> staffName) {
        StaffName = staffName;
    }

    public List<EmergencyInstitutions> getChildList() {
        return childList;
    }

    public void setChildList(List<EmergencyInstitutions> childList) {
        this.childList = childList;
    }

    @Override
    public String toString() {
        return "EmergencyInstitutions{" +
                "corpCode='" + corpCode + '\'' +
                ", corpName='" + corpName + '\'' +
                ", name='" + name + '\'' +
                ", pid='" + pid + '\'' +
                ", subnumber=" + subnumber +
                ", ranking=" + ranking +
                ", StaffName=" + StaffName +
                ", childList=" + childList +
                '}';
    }
}
